$(document).ready(function(){
	var validator = $("#frmforgotpassword").validate({
		errorElement:'div',
		rules: {
			email: {
				required: function() {
							var emailval = $('#email').val();

							if(emailval === 'Email')
								return true;
							else
								return false;
						},
				email1:true,		
				email: true
			}
			},
		messages: {
			email: {
				required: "Enter your email address",
				email:"Invalid email address. Please re-enter valid email"
			}			
		}
	});
	
	jQuery.validator.addMethod("email1", function(value, element) {
		var emailval = $("#email").val();		
		if(emailval == 'Email') 
			return false; 
		else 
			return true;
	},'Enter your email address');

});